﻿using SqlSugar;

namespace FastEasy.Model.Models
{
    ///<summary>
    ///用户信息表 用户信息表
    ///</summary>
    [SugarTable("UserInfo")]
    public partial class UserInfo
    {
        public UserInfo()
        {
        }

        /// <summary>
        /// Desc:ID 主键ID
        /// Default:
        /// Nullable:False
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int UserID { get; set; }

        /// <summary>
        /// Desc:头像
        /// Default:
        /// Nullable:True
        /// </summary>
        public string Avatar { get; set; }

        /// <summary>
        /// Desc:真实姓名
        /// Default:火星儿童
        /// Nullable:True
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// Desc:密码
        /// Default:
        /// Nullable:False
        /// </summary>
        public string PassWord { get; set; }

        /// <summary>
        /// Desc:邮箱
        /// Default:
        /// Nullable:False
        /// </summary>
        public string Email { get; set; }

        /// <summary>
        /// Desc:手机号
        /// Default:123
        /// Nullable:True
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// Desc:用户昵称 系统里显示的昵称
        /// Default:FastEasy用户
        /// Nullable:True
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// Desc:创建时间
        /// Default:DateTime.Now
        /// Nullable:True
        /// </summary>
        public DateTime? CreateDate { get; set; }

        /// <summary>
        /// Desc:修改时间
        /// Default:DateTime.Now
        /// Nullable:True
        /// </summary>
        public DateTime? UpdateDate { get; set; }

        /// <summary>
        /// Desc:上次登录时间
        /// Default:DateTime.Now
        /// Nullable:True
        /// </summary>
        public DateTime? LastLoginDate { get; set; }

        /// <summary>
        /// Desc:用户状态 根据状态表查询。默认1启用
        /// Default:1
        /// Nullable:True
        /// </summary>
        public int? UserState { get; set; }
    }
}